package com.travel.travel_springboot_web.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

public class OrderGoods implements Serializable {
    private Long id;
    private Long orderId;
    private Long goodsId;
    private String goodsTitle;
    private String goodsImage;
    private BigDecimal goodsPrice;
    private Integer num;
    private Integer giftNum;
    private BigDecimal totalPrice;
    private LocalDateTime createdAt;
    private String giftRuleText;
    
    public Long getId() {
        return id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    
    public Long getOrderId() {
        return orderId;
    }
    
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }
    
    public Long getGoodsId() {
        return goodsId;
    }
    
    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }
    
    public String getGoodsTitle() {
        return goodsTitle;
    }
    
    public void setGoodsTitle(String goodsTitle) {
        this.goodsTitle = goodsTitle;
    }
    
    public String getGoodsImage() {
        return goodsImage;
    }
    
    public void setGoodsImage(String goodsImage) {
        this.goodsImage = goodsImage;
    }
    
    public BigDecimal getGoodsPrice() {
        return goodsPrice;
    }
    
    public void setGoodsPrice(BigDecimal goodsPrice) {
        this.goodsPrice = goodsPrice;
    }
    
    public Integer getNum() {
        return num;
    }
    
    public void setNum(Integer num) {
        this.num = num;
    }
    
    public Integer getGiftNum() {
        return giftNum;
    }
    
    public void setGiftNum(Integer giftNum) {
        this.giftNum = giftNum;
    }
    
    public BigDecimal getTotalPrice() {
        return totalPrice;
    }
    
    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }
    
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }
    
    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
    
    public String getGiftRuleText() {
        return giftRuleText;
    }
    
    public void setGiftRuleText(String giftRuleText) {
        this.giftRuleText = giftRuleText;
    }
} 